package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 4:46 下午
 */
@Data
@ApiModel("新闻项信息返回值")
public class NewsResp {
    @ApiModelProperty(value = "新闻编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "备注", required = true)
    private String remarks;

    @ApiModelProperty(value = "新闻发送方")
    private String sender;

    @ApiModelProperty(value = "所属栏目编号", required = true)
    private Long topicId;

    @ApiModelProperty(value = "所属栏目名称", required = true)
    private String topicName;

    @ApiModelProperty(value = "新闻标题", required = true)
    private String title;

    @ApiModelProperty(value = "是否为热点，0:否（默认），1:是", required = true)
    private Integer hot;

    @ApiModelProperty(value = "阅读量", required = true)
    private Integer count;

    @ApiModelProperty(value = "排序", required = true)
    private Integer sort;

    @ApiModelProperty(value = "新闻内容", required = true)
    private String content;
}
